<template lang='pug'>
.goodsInter
  goodsInterBox(v-for="item in data",:key="item.id",:citem='item')
</template>
<script>
import { unique } from '@/config/utils'
import { getCommodityData } from '@/service/getData'
import goodsInterBox from './_goods_inter_box'
export default {
  data() {
    return {
      show: true
    }
  },
  props: ['cdata'],
  created() {
    if (!this.cdata[0].tag) {
      this.show = false
      return
    }
  },
  computed: {
    data() {
      return this.cdata[0].tag
    }
  },
  components: {
    goodsInterBox
  },
}
</script>
<style lang='scss' scoped>
@import './tool.scss';
.goodsInter {
  width: toRem(750);
  background-color: #fff;
}
</style>
